package com.mlnx.netty.maibb;

import com.mlnx.netty.base.DeviceNettyServer;

import io.netty.channel.nio.NioEventLoopGroup;

/**
 * Created by amanda.shan on 2019/10/10.
 */
public class MaibbServerTest {

    public static void main(String[] args) throws Exception {

        DeviceNettyServer deviceNettyServer = new DeviceNettyServer(new NioEventLoopGroup(), new NioEventLoopGroup(),
                "maibb");

        deviceNettyServer.start(new MaibbServerInitializer(), 8083);
        System.out.println("server...");
    }


}
